I implemented the linear interpolation as proposed. And it works fine...