Use line comparison algorithm.