New correct_polygon() and correct_multi_polygon()