Use a set for mass_proportional_info
Using a list to keep the information keys that are proportional to the mass leads to problems when forcing the update of a proportional information: the key name appears then twice (or more) in the list and the information is multiplied twice (or more) by the mass.
Please register or sign in to comment