Eliminate tid variable, simplify SerialMerge function.