Finish the backtracking