merged GKDTree into KDTree