Added test and working code that covers case of many nodes one depth no enclosure