Some changes in scalar scan
Add scan spawners
Add scan workers
Add dispatched inner_scan/outer_scan for shared memory