Parallel scan

Introduce shared memory inner/outer scan by the use of a scan spawner.
It's the 2-passes version: 
1) compute partial scan without writing in the Output
2) aggregate summaries for each chunk and recompute partial scan writing in the Output