Optimize multiplication ordering. Fix divmod to allow dividing by innerBase.
Add fast-path cases for addition.