updated RMModel to prune high frequency terms