making the even point interpolation robust.