reduce big sparse matrix size