gridbroadphase optimize