extend the box in kdtree
remove all printing in fortran