tidied up sim_noassoc_seg stuff