Laserschwert said:
Do you think you can make the algorithm avoid crushed whites on the result, even if the source frame has them?
This is exactly what it does, it corrects for crushed blacks and whites in both the source and the reference, to a certain extend.