The beauty of adjustable shelves is the flexibility ... You'll also need shorter pieces for the shelf supports and brackets, so go ahead and cut some boards to the appropriate sizes.