if (value < 0) {
            if (value < Integer.MIN_VALUE) {
                return new ScratchObjectLargeNegativeInteger(BigInteger.valueOf(value));
            } else if (value < Short.MIN_VALUE) {
                return new ScratchObjectSmallInteger((int) value);