Use std::vector instead for row_pointers