adding chains with random restart and fixed number of transitions.