BUGFIX: correct the data interpolation.