treeBuild