fix quintic interpolation