1. Prioritize pairs with higher counts;

2. Set assignnum = 5