Store the tree key in the prefix tries, improve the interface of the merge function
Improve the REMOTE interface