This is a follow-up question (related to this question I asked) but it is complicated enough that I think it is better to start a new question.
Previously, I discovered t