mapping clashes finds only distinct pairs