add Sum_mass and related data