ClosestPair finished