Correction

I thought about it too, but this way seemed cleaner and clearer in terms of code, for what I guessed to be a minor drop of performance.