TrackGenerator now allocates track segments once - improves memory consumption for parametric sweeps