Resolved most issues with BigInteger