Simulation of a tree