Map analyzer detects frontiers. only generates a single centroid