why not a `for` loop? (And why not use the vector iterator + `.enumerate()` to avoid the bounds checks?)