Fix scatter when map arity > 1
Start dealing with flattened iteration spaces.
Move iteration spaces in the kernel
Fix the size of the buffer array.