readRowFromNtoM