to lil_matrix