Stepsize analysis for descent methods