iterate: check locally ranges and found keys, skip those keys which do not fit ranges. Check and update index_offset at the beginning of the loop to allow processing of the just read data.