optimize slow_closest_pair(..)
code style
implement fast_helper(...)