pub fn compute_tree_root_with_hasher<let N: u32>( leaves: [Field; N], hasher: fn(Field, Field) -> Field, ) -> Field