Interpolation to get same length