Sure—I'll revise with more docs!

If inserts(idx) was the max at the last index, that means that the state with the highest likelihood at the last state was the insertion state.