An algorithm for payoff space in C1 parametric games