I don't know how many players count for quality but consider that it takes the avg of the six members , finding another group with similar quality.
Then gives the pairs per ranking of each group.
Some members have more tough opponents ofcourse.