A firm can realize economies of scale in manufacturing, purchasing and transportation by holding inventories.
If purchasing buys large amounts, the firms get quantity discounts.
In turn, transportation can move larger volumes and get economies of scale through better equipment utilization...