repo: Minor cleanup: Move size generation code initialization

It has a global effect, so do it in the entrypoint.