Collapses a distance matrix by amalgamating populations with pairwise fixed difference count less that a threshold
Useful links