back to row-major in ParamPool for for loops