func (i *mergedIterator) next() bool {
    var key []byte
    if i.dir == dirForward {
        key = i.keys[i.index]
    }