private void transformTree(TreeNode node) {
    	
    	TreeNode left  = node.left;
    	TreeNode right = node.right;
    	
    	reverse(node);
    	
    	if(left  != null) transformTree(left);
    	
    	if(right != null) transformTree(right);
    	
    	mergeToRight(node);
    }