make sure calculations are correct
convert ini replacements to less vars first

This makes it possible to safely overwrite ini replacements from within
any less file