fn tree_hash_count(count: usize) -> Result<usize>
Round down to power of two. Should error for count < 3 or if the count is unreasonably large for tree hash calculations.