Update and cleanup for export to occupancy grid.