Index: trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc
===================================================================
--- trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc	(revision 3073)
+++ trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc	(revision 3074)
@@ -61,5 +61,5 @@
 const Int_t   MHCalibrationPixel::fNDFLimit          = 5;
 
-const Axis_t  MHCalibrationPixel::fMaxFreq           = 3.5;
+const Axis_t  MHCalibrationPixel::fMaxFreq           = 30.5;
 const Axis_t  MHCalibrationPixel::fMinFreq           = 0.;
 const Int_t   MHCalibrationPixel::fPSDNbins          = 30;
@@ -248,4 +248,21 @@
     return IsOscillating();
 
+  //
+  // The number of entries HAS to be a potence of 2, 
+  // so we can only cut out from the last potence of 2 to the rest. 
+  // Another possibility would be to fill everything with 
+  // zeros, but that gives a low frequency peak, which we would 
+  // have to cut out later again. 
+  //
+  // So, we have to live with the possibility that at the end 
+  // of the calibration run, something has happened without noticing 
+  // it...
+  //
+  
+  // This cuts only the non-used zero's, but MFFT will cut the rest
+  CutArrayBorder(fHiGains);
+  CutArrayBorder(fLoGains);  
+
+
   MFFT fourier;
 
@@ -638,5 +655,4 @@
   fHAbsTimeLoGain->Draw(opt);
 
-  //  CutArrayBorder(fHiGains);
   CreateChargeXaxis(fHiGains->GetSize());
 
@@ -650,5 +666,4 @@
   gr1->Draw("AL");
   
-  CutArrayBorder(fLoGains);  
   CreateChargeXaxis(fLoGains->GetSize());
 
Index: trunk/MagicSoft/Mars/mtools/MFFT.cc
===================================================================
--- trunk/MagicSoft/Mars/mtools/MFFT.cc	(revision 3073)
+++ trunk/MagicSoft/Mars/mtools/MFFT.cc	(revision 3074)
@@ -826,6 +826,6 @@
 
       fDim = b;
-      gLog << warn << "Dimension of Data is not a multiple of 2, will take only first " 
-           << fDim << " entries! " << endl;
+      //      gLog << warn << "Dimension of Data is not a multiple of 2, will take only first " 
+      //           << fDim << " entries! " << endl;
       return; 
     }
