code: private void indexArrayStore(int e, int i)
      {
          if (valueIndexStore.length < e)
          {
              int oldLength = valueIndexStore.length;
              valueIndexStore = Arrays.copyOf(valueIndexStore, e + 2);
              Arrays.fill(valueIndexStore, oldLength, valueIndexStore.length, -1);
          }
          valueIndexStore[e] = i;
      }
docs: Sets the given index to use the specific value
  @param e the value to store the index of
  @param i the index of the value