Avoid accidental rounding to MAX_UINT