partial result of Longest lines
simplified longest lines