Basic generation of tree done