Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@PietroMajer, when we compute $\nu_{j+1}$ we use the new one just computed $\nu_j$. In the algorithm, everything works according to the standard assignment rules. Just read the question again or experiment with the PARI/GP program.