Index: trunk/stac/src/stac.c
===================================================================
--- trunk/stac/src/stac.c	(revision 2783)
+++ trunk/stac/src/stac.c	(revision 2897)
@@ -37,4 +37,5 @@
     psTraceSetLevel("stac.time",10);
     psTraceSetLevel("stac.area",10);
+    psTraceSetLevel("stac.size",10);
 
     // Set logging level
@@ -52,6 +53,9 @@
     psTrace("stac.time", 1, "I/O completed at %f seconds\n", getTime() - startTime);
 
+    // Get size
+    stacSize(config, inputs, maps);
+
     // Invert maps
-    psArray *inverseMaps = stacInvertMaps(maps);
+    psArray *inverseMaps = stacInvertMaps(maps, config);
 
     // Generate errors
