Cleaned up build tiny trees method and put aside depth counter