switch back to left recursion version.
change the order of adding child node.