optimizate the polygon raster