code to get mass growth histories