We implemented new algorithm for many lines detect
We checked if there is any 180 degree turn in the line