Define and use ##bignum.copy, simplify integer division, have gcd use less memory.