major changes to bignumbers.cpp