a ruler is used to measure the length of a wall