Switched BigInt library for more stable one capable of modular functions