no more failing mazes, allow solver to turn around at dead ends