use row/col instead of indptr