add scalar inner_fold_step and call it in scalar inner_fold
OpenMP and TBB call now the same generic shared_memory inner_fold