move scale_d calculations inside ContributionsCalc