delete vertices from memory when deleted