Naive BigInt implementation - how to improve? - Modular