throw exception if merkle root is to be calculated for empty block.