drawing mass distributions