Add Dynamic Tree Transformer implementation