a ruler is used to measure the length of a sand pile