Calculated value wont go above minimum condition