Changing int.MaxValue to some smaller value.