inventories set capacities correctly