generic template for WinnerDeterminationProblemComputation with range partitioning