group_overlapping_intervals