levelList for trees