How does the sentence end?

The carpenter shortened the length of the board for the doorway because the
doorway was too narrow.