trees: join two trees