compiler: handle multi-iterators