pruneTree can be called without CForest