search lambda for optimal selection probs