remove duplicate points.