Fast-n-dirty solution for 1078 ("Segments")