New ttV matching and tree-making code