Untested lazy tree building