do not compute if all data are zero
merge NotRegularMatrix