I think you are thinking of "would" as the past tense of "will," which it is. However, that is not how it is used here. Here, it is "indicating an action in the past that happened repeatedly or commonly." The key words that indicate that it is a repetitive action are: "Each time" and "twice".
See this article:
would - Wiktionary