Diamond : long to BigInteger

for large input test