[BUG #8571] Merged tree first tree implementation.