Flocking code that makes use of parsing flock space into bins to localize flock member comparison