merge: convert empty tree constant to the_hash_algo