I think you can just write `let mut y = partials[z]` inside the loop. (It won't make a performance difference.)