Fixed calculated stable type for pattern defined vals