re-enable branches after array2tree with an initial tree