HOW to Clean up motion tracking data, jiggling motion on Z-axis (towards camera)

motion on X-Y axis is OK, but from the side view it’s jiggling back and forward to camera.
How to make tracker data smoother?

Constraing to F-curve?