Inventories, Production Smoothing, and the Flexible Accelerator