Sim -> dist.
Generating training data.