recently constructing kdtree