BlockSparse_updateOutput reduction optimization