changed the boids algo