Add OverflowError and use it for small int overflow instead of assert.