Implement new_submesh_as_rectangle