delete kdtree