in algorithms for unconstrained optimization, a step typically involves selecting a direction of improvement and a step size. in which type of methods is the step size chosen ahead of the direction?