add MatchingDegreeCalculator