map-reduce job to generate simulated chains