Making work sparse matrices