fix max_scores off-by-one bug
fix bug 2-2-2-2 collapsing to 2-2-4