better occupancy grid with classes