use bignum to convert to buffer since parseInt too small