compatibility to java.math.BigInteger