code: void set(int index, int value) {
          int chunk = assertSpace(index);
          chunks[chunk][index & mask] = value;
      }
docs: Sets a value an grows chunks dynamically if exceeding size or missing chunk encountered