better use of the remaining space when visualizing the tree