Switching algorithm mode