diff --git a/src/main/java/fr/pasteur/ida/zellige/surfaceConstruction/construction/SurfacesExtraction.java b/src/main/java/fr/pasteur/ida/zellige/surfaceConstruction/construction/SurfacesExtraction.java
index c09640f62a86b4666ce579901a13292ed4bbb180..7f52d087b67eb18e3735c37c538ea4792c3bf525 100644
--- a/src/main/java/fr/pasteur/ida/zellige/surfaceConstruction/construction/SurfacesExtraction.java
+++ b/src/main/java/fr/pasteur/ida/zellige/surfaceConstruction/construction/SurfacesExtraction.java
@@ -23,7 +23,7 @@ import net.imglib2.type.logic.BitType;
 import net.imglib2.type.numeric.RealType;
 import net.imglib2.type.numeric.integer.UnsignedShortType;
 
-import java.util.TreeMap;
+
 import java.util.TreeSet;
 
 public class SurfacesExtraction
@@ -31,7 +31,6 @@ public class SurfacesExtraction
     private static int X;
     private static int Y;
     private static int Z;
-    public static int zCount;
     public static TreeSet<Integer> list;
 
     public static < T extends RealType< T > & NativeType< T > > void extract(
@@ -96,15 +95,11 @@ public class SurfacesExtraction
 
         /* Grid of local maximums*/
         Img< BitType > threshold = LocalOtsuClassification.find( input , percent);
-//        Img< BitType > threshold = LocalOtsu.find( maximums , percent);
         //ImageJFunctions.show( threshold, "Local threshold " );
 
         /* Maxima selection according to threshold*/
         maximums = Threshold.classification( maximums.copy(), maximums.factory(), threshold );
 
-//        maximums = IsolatedPixFilter.run( maximums.copy(), 1, 2, 4 );
-//        ImageJFunctions.show(m.copy(), "isolated pix 1 ");
-
         /* Dilatation of the resulting image*/
         Utils.gaussConvolution( maximums.copy(), maximums, new double[]{ sigma, sigma } );
 //        ImageJFunctions.show( maximums, "blurred maximums" );