kdtree bug 2