Add a separate initializer for custom packet sizes.