It is originally a dia_matrix and I believe we decided to convert it to a LIL matrix to build it. I am not sure if we decided to then change it to CSR or just leave it in LIL.