Closes path-derived POLYGONS.