It sounds like upon initialization the bottom or minimal value allowable is set to 30 (or what ever you set it at) and during run-time one can only increase from there. A possible work around is to set the initial value to 1, and then immediately after initialization set the value to 30 as a default. After this point you should, based on the prior results, set it dynamically to anything above 1.