Fix FilterVeloTracks crash by limiting the maximum number of interaction seeds
See description in #517 (closed)
The algorithm outputting the material interaction vertices is now split in two: the first kernel counts the number of candidates, the second fills the vector, shaped according to the output of the first kernel. By construction, the crash is removed.
A clone killing or some other optimisation to the algorithm logic to avoid outputting duplicated seeds can be applied on top with more relaxed timescales
Also, the prescale to the Downstream_z line is set back to 0.05 (was changed by mistake to 0.02 in a rebase of the previous MR)
Close #517 (closed)
Edited by Saverio Mariani