some improvements to CForest