Turn BigInteger into int for return