Adding inner_fold for TBB