Modified synthetic dataset generator.