Fixed some errors in stepsize/order selection