Tweak flocking algorithm