optimize List[Line] joining
adding LastScan skeleton