Fixed backtrack algorithm regression