I need to have extra GraphGenerationBenchmark trait for the numNodes and probEdge variables. I will try to improve this solution other way.