fixed bug with uniform distribution for voter