Move setting of distributor/collector capacities to storage.
Changing collector/distributor allocate(int) to setCapacity(int)