fixed bug from 2 years back in reloop/divide_mass