Fixes overflow tolerance