Adding points_on_tracks interpolation function