correcting interpolation while compiling vtk-file