enhance data generation performance