add task parallel scan (cilk)