code: protected void reportKeyGroupOfElementAtIndex(int index, int keyGroup) {
  		final int keyGroupIndex = keyGroup - firstKeyGroup;
  		elementKeyGroups[index] = keyGroupIndex;
  		++counterHistogram[keyGroupIndex];
  	}
docs: This method reports in the bookkeeping data that the element at the given index belongs to the given key-group.