fixed 'examples/demo/stress' example and adapted to new config