remove last points, better snapping choice in filter