A lot more understandable than the old code. This is not really performance-critical, so no need for using ``empty`` and ``.fill``, which would be faster probably.