Correct version of TreeMaker without newTree