Fixes enlargeTree.