block/grid reduction implemented