flip-intersect line cover algo first pass