Thanks for your answer.
I already have some workarounds for the problem, but using variant 4 would simplify the code when writing and reading (actutally, the expression is a lot more complex than above).