finished sweepline for lines