Index: trunk/psastro/src/psastroRemoveClumps.c
===================================================================
--- trunk/psastro/src/psastroRemoveClumps.c	(revision 16079)
+++ trunk/psastro/src/psastroRemoveClumps.c	(revision 16801)
@@ -23,4 +23,5 @@
     int nY = (Ymax - Ymin) / scale + 10;
     psImage *count = psImageAlloc (nX, nY, PS_TYPE_U32);
+    psImageInit (count, 0);
 
     // accumulate 2D histogram in image
@@ -52,4 +53,5 @@
     // XXX make this a user option
     float limit = 5.0*stats->sampleStdev;
+    psTrace ("psastro", 4, "skipping stars in cells with more than %f stars\n", limit);
 
     // find and exclude objects in bad pixels
