make closest pair runnable