Switch to using a grid for managing the agents and attractors.