Part of #116901. A straightfoward change this time; the algorithm wasn't adjusted, it was just put inside of a single loop. I did change some nested if statements to continue statements to reduce indentation though.
Part of #116901. A straightfoward change this time; the algorithm wasn't adjusted, it was just put inside of a single loop. I did change some nested if statements to continue statements to reduce indentation though.