out_handler converts ranks to Intervals.