approximate kdtree