BigInt class in C++ with optimized assembly code