Max vote

With these changes we add a max_vote field that can be used to simplify the range voting or limit the selection in case of select voting.