gotoh local and freeshift backtracking2