Fixed rebinning, the user can now change the binning timeslice and run the processing several times with different intervals with no issue, memory leak also fixed on reinitialization