Description of up-scale detection algorithm