Upgrade the tree traversal for full recursion : reviewer : Naymesh