complete closest pair of points