Spike sorting windows improvement