Modified multiplicity method to account for equivalence classes that are not on equality