Fix compound type size problem