code: private void ensurePowerOfTwo(String parameter, int number) {
          if (Integer.bitCount(number) > 1) {
              LOG.warn("Parameter {} should be power of two but was {}", parameter, number);
          }
      }
docs: all the capacities will be used to initialize HashMaps so they should be powers of two