How does the sentence end?

He was trying to measure the height of the box using a ruler, but had to switch to a larger ruler because the
ruler is too short.