Make complexity benchmark code work for complexity > 1 https://bugzilla.gnome.org/show_bug.cgi?id=784754