Worked a bit on line segs intersection