BigInt to long