Index: trunk/psphot/src/psphotRadiusChecks.c
===================================================================
--- trunk/psphot/src/psphotRadiusChecks.c	(revision 5828)
+++ trunk/psphot/src/psphotRadiusChecks.c	(revision 5980)
@@ -31,13 +31,19 @@
     }
 
-    // check if we need to redefine the pixels
-    // XXX EAM : a better test would examine the source pixels
+# if (1)
+    bool status = psphotRedefinePixels (source, imdata, model->params->data.F32[2], model->params->data.F32[3], model->radius);
+    return status;
+
+# else
+
     if (model->radius > PSF_OUTER_RADIUS) {
 	// (re)-allocate image, weight, mask arrays for each peak (square of radius OUTER)
 	psphotDefinePixels (source, imdata, model->params->data.F32[2], model->params->data.F32[3], model->radius);
 	return true;
+    } else {
+	fprintf (stderr, "skipping %f,%f\n", model->params->data.F32[2], model->params->data.F32[3]);
     }
-
     return false;
+# endif
 }
 
@@ -68,4 +74,11 @@
     if (isnan(model->radius)) psAbort ("fit_galaxies", "error in radius");
 
+# if (1)
+    // redefine the pixels if needed
+    bool status = psphotRedefinePixels (source, imdata, model->params->data.F32[2], model->params->data.F32[3], model->radius);
+    return status;
+
+# else
+
     // check if we need to redefine the pixels
     if (model->radius > GAL_OUTER_RADIUS) {
@@ -76,3 +89,4 @@
     }
     return false;
+# endif
 }
