Calculate keys from Vertex