tree map support for different depths