What factors contribute to the increase in mass of an organism after consuming food?