handle multipolygons