Re-organize code dense splitter then sparse splitter
Simplify call to extract_nnz making it a method