make_one_track (and d associated segments) working