pub fn calculate<'a, SuccFn: Fn(Block) -> &'a [Block]>( entry: Block, succ_blocks: SuccFn, ) -> Vec<Block>