Added new method to create the occupancy grid during the axis parallel raycasting