Optimize tally list.