updated collision and grid cell structure