Clean find_closest_k_bucket method.