Avoid arithmetic overflow.
Updated http