Pythia and tree