makeTree