add/use delete_direct_vertices function