some prep. for a tree3 to tree1 transformer