Epochs have different time instants

One could also make the epochs bigger than desired, then resample, and then crop the epochs to the desired range – so the edge artifacts are only in the cropped out part.