auto adjust width of color legend on map
optimize color for displaying districts