dhex and tree