lineEnds

Lazily calculate where all the line ends are.