Index: branches/pap/psModules/src/objects/pmPSFtryModel.c
===================================================================
--- branches/pap/psModules/src/objects/pmPSFtryModel.c	(revision 27708)
+++ branches/pap/psModules/src/objects/pmPSFtryModel.c	(revision 28003)
@@ -107,6 +107,6 @@
     // as we loop over orders, we need to refer to the initial selection, but we modify the
     // option values to match the current guess: save the max values here:
-    int Nx = options->psfTrendNx;
-    int Ny = options->psfTrendNy;
+    int Nx = (options->psfTrendMode == PM_TREND_MAP) ? options->psfTrendNx : options->psfTrendNx + 1;
+    int Ny = (options->psfTrendMode == PM_TREND_MAP) ? options->psfTrendNy : options->psfTrendNy + 1;
     for (int i = orderMin; i <= orderMax; i++) {
 
