merge into one tree