build new tree model