optimation of shared mem SUM_ROWs, not tested