still working on closest pair