added wrong revised logic for discrete budgetting