static ItIt<Int> intRangesIterator(Iterable<IntRange> l) {
  ret nestedIterator(l, r -> countIterator(r.start, r.end));
}