kdtree added