Index: trunk/ppStack/src/ppStackMatch.c
===================================================================
--- trunk/ppStack/src/ppStackMatch.c	(revision 20508)
+++ trunk/ppStack/src/ppStackMatch.c	(revision 20568)
@@ -151,4 +151,5 @@
             int footprint = psMetadataLookupS32(NULL, ppsub, "STAMP.FOOTPRINT"); // Stamp half-size
             float threshold = psMetadataLookupF32(NULL, ppsub, "STAMP.THRESHOLD"); // Threshold for stmps
+            int stride = psMetadataLookupS32(NULL, ppsub, "STRIDE"); // Size of convolution patches
             int iter = psMetadataLookupS32(NULL, ppsub, "ITER"); // Rejection iterations
             float rej = psMetadataLookupF32(NULL, ppsub, "REJ"); // Rejection threshold
@@ -228,8 +229,8 @@
 
             // Do the image matching
-            if (!pmSubtractionMatch(output, NULL, readout, fake, footprint, regionSize, spacing, threshold,
-                                    sources, stampsName, type, size, order, widths, orders, inner, ringsOrder,
-                                    binning, penalty, optimum, optWidths, optOrder, optThresh, iter, rej,
-                                    sysError, maskVal, maskBad, maskPoor, poorFrac, badFrac,
+            if (!pmSubtractionMatch(output, NULL, readout, fake, footprint, stride, regionSize, spacing,
+                                    threshold, sources, stampsName, type, size, order, widths, orders, inner,
+                                    ringsOrder, binning, penalty, optimum, optWidths, optOrder, optThresh,
+                                    iter, rej, sysError, maskVal, maskBad, maskPoor, poorFrac, badFrac,
                                     PM_SUBTRACTION_MODE_1)) {
                 psError(PS_ERR_UNKNOWN, false, "Unable to match images.");
