Aggregation for material balances