The maximum safe value of an int.
final int maxSafeInteger = (BigInt.two.pow(safeIntegerBits - 1) - BigInt.one).toInt();