Better line detection, but not final.