Don't assume that the lines cannot extend beyond the edge of the paper.