private static int calculateSize(int log2Group, int delta, int log2Delta) {
    return (1 << log2Group) + (delta << log2Delta);
  }
Calculates the memory block size for a given log2 group, delta, and log2 delta.

@param log2Group The log2 value of the current size class group.
@param delta The delta value for the size class.
@param log2Delta The log2 value of the delta.
@return The calculated memory block size.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/binaryallocator/utils/SizeClasses.java