added self link to the centre of the tree