Minor English nit: it's "a vertex" not "an vertex" (only use "an" when the following word starts with a vowel sound).