Eliminate duplicated contours for one pip