kdtree traverse