Let there be 317 bins corresponding to each consonant inventory L. A bin corresponding to an inventory L is packed with s L consonants chosen uniformly at random (without repetition) from the pool of 541 available consonants.
the consonant inventories of the 317 languages corresponding to the bins are generated.