choose better value for gradient descent stepsize