Replacing the len(xs) with boids_number