The generator should work if maxcount == -1