Something like:

```
while safe_size.to_s(16).rjust(8, '0') =~ /00/
```

but not a hard requirement heh just a preference, if you feel more comfortable with your current way, it's ok to me