Oh, sorry. Type_4 is not capable to define the Inverse Encode curve. I have to use the Plugin API to create a new type or define the Encode curve itself and use the built-in lcms function to invert it (but I guess it will make the "scaling" harder to figure out). And the constant_linear_range_length = 0.018 was incorrect anyway. It's 0.081