Converting UInt8 Array to BigInt, and back