not sure whether Tree.parent is necessary
shapeless macros palladium (unrestricted whitebox)