Initial implementation of reductions across dimensions