- add parameter "CrossStateOptimization/nRandomConfig" to specify the number of trials to generate each waypoint configuration.