calculate hysteresis method 2 zero upscale vs downscale