Save 5 bytes in the internal function `flatten`.

Just a minor 5 bytes.