more efficient tree leaf presentation