Spatial patch

the first argument in the reduction function will never be of length 1 then it wouldn't be multidimensional, it will be however of type number instead of array the first time.