Change resize to push_back in metaprogram::add_vertex