Switched rows and cols for traceBack