add MerkleCollapse(), which calulates the merkle hash of a sector