Refactor storage of accumulated nutrients.