will added lags*hrows for densematrix