Split valley feature and ridge feature.
Extract ScoreCollector to score_collector