merged tree functions