fixed written size for subtypes