How to measure the length