use LIL matrix