general changes to bignum library