try to use KdTree in KNN