Set the initial value to max