Fix mssa for series of different lengths