kdtree init