updated swarm controller, misssing stagnation test