Fix doctests for integral_steps