Ontogeny of a tree