Simplifying lines computations.