Consistent Observation Grouping for Generating Metric-topological Maps that improves Robot Localization