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