Removed the shouldPreempt function.
Got transferring control to other algorithms working.