code: private double toPerPartitionMaxSize(int maxConfiguredSize, String mapName) {
          int memberCount = clusterService.getSize(DATA_MEMBER_SELECTOR);
          double translatedPartitionSize = (1D * maxConfiguredSize * memberCount / partitionCount);
  
          if (translatedPartitionSize < 1) {
              translatedPartitionSize = MIN_TRANSLATED_PARTITION_SIZE;
              logMisconfiguredPerNodeMaxSize(mapName, memberCount);
          }
  
          return translatedPartitionSize;
      }
docs: Calculates and returns the expected maximum size of an evicted
  record-store when {@link
  com.hazelcast.config.MaxSizeConfig.MaxSizePolicy#PER_NODE
  PER_NODE} max-size-policy is used.