You can only square up two sides at a time. I move the ruler around until I get it where I want it and then trim two sides, move the block around so that I can get at the other two.
Let the side of the ruler that measures more than 13 1/2 hang over the left side of the block.