fix rectangular quadrilateral mesh creation