When a polygon is drawn generate a new grid