Save scan statistics (stateS.scanStats.minScanVal/maxScanVal) in stateS when new scan is added to planC.