merge merkle tree

- adding  PR for comments
I think this should read `returns the next-highest Bin in the tree1` right?