list_intervals: invert and intersection methods