ran.c combines miser.c and sobseq