Added StrafeSearchPattern and fixed BoxSearchState to use setTransition