docs: public static int calculateMaxPartitionSize(int maxEntryCount, int partitionCount) {
          final double balancedPartitionSize = (double) maxEntryCount / (double) partitionCount;
          final double approximatedStdDev = Math.sqrt(balancedPartitionSize);
          int stdDevMultiplier;
  
          if (maxEntryCount <= STD_DEV_OF_5_THRESHOLD) {
              // Below 4.000 entry count, multiplying standard deviation with 5 gives better estimations
              // as our experiments and test results.
              stdDevMultiplier = STD_DEV_MULTIPLIER_5;
          } else if (maxEntryCount > STD_DEV_OF_5_THRESHOLD
                  && maxEntryCount <= MAX_ENTRY_COUNT_FOR_THRESHOLD_USAGE) {
              // Above 4.000 entry count but below 1.000.000 entry count,
              // multiplying standard deviation with 3 gives better estimations
              // as our experiments and test results.
              stdDevMultiplier = STD_DEV_MULTIPLIER_3;
          } else {
              // Over 1.000.000 entries, there is no need for using standard deviation
              stdDevMultiplier = 0;
          }
          return (int) ((approximatedStdDev * stdDevMultiplier) + balancedPartitionSize);
      }