add a adjusting counter in evaluate_image() to avoid inifinite adjusting