Optimizing layout of nested enums?

Not rouding size of types up to a multiple of alignment? is possibly related.