the algorithm step 3 trace back