implemented first guess, does not really work with linear step
hacked linear step to work incrementell, not the best hack :)