initial hash tree.  Needs rework