while rank < position.size
    idx = position[rank - 1]
    if iteary[idx].nil?
      iteary = iteary[idx] = Array.new
    else