Better upvoting algorithm