Closest pair of points corrected