[ENH] speed up reduction on the colums of matries.