require msg changed in SGSparseMatrix