make more of randomization and analysis multiprocessing compatible