adapted datagen for benchmarks; to be reverted