Provide advice on how to accomplish the following goal. Give ONLY the advice, no other words or explanation.
For example:

Answer: <advice, as short as possible; a single sentence!>.

Goal: How do ensure the shelves will fit?
Use a ruler or measuring tape to mark the locations using a pencil where the rails will be installed.
Measure the space and check the dimensions of the shelves before purchasing.