merge merkle tree

- adding  PR for comments
This one and below seems to be not used or...?