Use CBigNum for temporary variables to prevent overflow. Which is unlikely to happen...