add markle tree root hash calculation