refactor DistortionScoreProducer