Change number type to BigInt since the result could be very large.