also need a check that

`(optimizedGraph8 == optimize(g * g * g * g * g * g * g * g)._2)`