add priority mechanism in track merger