Set a tolerance to discard new poles too far from the line at the previous step.