switch to sqdist criterion; sqdist changed; move model_criterion to valid_criterion