remove unused ridge_slope type
Pruning pass