add line2 to compute offset intersections