prepare for multiple polygons