adding track removal priority algo to run_second_merger