Refactoring add SpMV_SERTILP helper function