add the trace of complete RGB of each branch in KSW algorithm