ToOptionalShapedValue 개선