buggy divide and conquer find closest points