*/
private List<GeohashRange> mergeCells(S2CellUnion cellUnion) {
List<GeohashRange> ranges = new ArrayList<GeohashRange>();
for (S2CellId c : cellUnion.cellIds()) {
GeohashRange range = new GeohashRange(c.rangeMin().id(), c.rangeMax().id());
boolean wasMerged = false;
for (GeohashRange r : ranges) {
if (r.tryMerge(range)) {
wasMerged = true;