Use a partitioned grid for collision detection.
Improve entity iteration performance by removing support for custom predicates.