save 10bit residual