uproot pmcts tree to lose history but free memory