Ruben TraceBack

Update Ruben trace back, make minimize the number of turns