I suppose that's safe, but only because we happen to know that the format limits section sizes to 32 bits in practice.
Yeah, I assumed that. I also thought about first rendering all the sizes, take the maximum and then render again, but it looked like too much effort for something like that.
If we're going to do something like this anyway, we might as well do something like this:
Done, thanks.