added an occupancy grid comparator