I see.
The thing is, that one has one more element in this error prone composition of loops over different variables and iterators, which are finally meant to ber the same. One should rather reduce them.
My initial concern was about possibly unitialised `multiplicity` members, but currently it looks correct to me. However, I suspect that the Clang static analyzer will stuble across this anyway, so why not improve this now rather than later?