The intervals are half-open `[a, b)` except the last one is closed also from the right.