Refactor block_t storage in parser_t from a linked list to a vector