calculate hysteresis method 1 upscale vs downscale