more stable loop selection