step up value in while loop