Added emergency code to warn that rescale is incompatible with setting
max and min.