Index: /branches/eam_branches/ppStack.20211015/src/ppStackReadout.c
===================================================================
--- /branches/eam_branches/ppStack.20211015/src/ppStackReadout.c	(revision 41880)
+++ /branches/eam_branches/ppStack.20211015/src/ppStackReadout.c	(revision 41881)
@@ -381,5 +381,4 @@
     bool mdok;                          // Status of MD lookup
     psF64 minRange = psMetadataLookupF32(&mdok, recipe, "COMBINE.MIN.RANGE"); // Combination threshold
-    psF64 maxRange = psMetadataLookupF32(&mdok, recipe, "COMBINE.MAX.RANGE"); // Combination threshold
 
     char defaultBlankStr[16] = "BLANK";
@@ -420,5 +419,6 @@
 
     // XXX rename minRange to rejectFraction
-    if (!pmStackCombineByPercentile(outRO, stackData, minRange, maxRange, maskBad, maskSuspect, maskBlank)) {
+    // XXX add expmaps
+    if (!pmStackCombineByPercentile(outRO, NULL, stackData, minRange, maskBad, maskSuspect, maskBlank)) {
         psError(PS_ERR_UNKNOWN, false, "Unable to combine input readouts with rejection.");
         psFree(stackData);
