switching to sparse version of M.txt