remove cutoff from polyline