sequence of vertices: [1, 8, 5, 2, 6, 7, 1]