gotoh global backtracking finished