Capture minumum in inner lambda.