public static function getSizeRoundedUp(int $inputSize) : int { $order = 1; while ($order < $inputSize) { $order <<= 1; } return $order; }