Revert to wraparound integer arithmetic, instead of going to float.