testing mesh_constraint