line finding algorithm now ignores >80% redundant lines