Question: How do ensure the shelves will fit?
Option 0: Use a ruler or measuring tape to mark the locations using a pencil where the rails will be installed.
Option 1: Use a shelf to approximate and to mark the locations using a pencil where the rails will be installed.
Answer: 0