You can measure the distance with c_trace and create a beam with a particle that got its BEAM flag set. You then need done additional particle at the end of the beam and increase its size with growing distance.
Always learn from history, to be sure you make the same mistakes again...