optimizate the polygon raster and fix points bug for cutter