lots of changes, more important: changed how mass_dist is filled