Optimizations for the GridBroadphase