tree depth and amount made infinitely scalable