Optimize loop to adjust var()

Avoid options.preserve test on each turn of the loop