def _adjust_step_size_rejected_step(dt, rel_change_step, vsimex_tol,
    dt_bounds, s_bounds):
    """
    Adjust step size for a rejected step.
    """
    mult = vsimex_tol / rel_change_step
    if mult < s_bounds[0]:
        mult = s_bounds[0]
    new_dt = mult * dt[2]
    if new_dt < dt_bounds[0]:
        new_dt = dt_bounds[0]
    return dt[0], dt[1], new_dt
