Combine `add-vertices'` in one implementation