Better Tree performance, compiling Subtree when needed