I put a test to check the input meshes before do any thing. If one mesh have holes a error code is returned.