 
   padding  = 5
   size_max = (d3.min([column_width, column_height]) / 2) - (padding * 2)
+  labelHeight = if vars.labels.value and not vars.small and size_max >= 40 then d3.max([20, d3.min [size_max * 0.25, 50]]) else 0
   size_max -= labelHeight
   size_min = d3.min [size_max, vars.size.scale.min.value]
 


    d.d3plus.static = d.d3plus.depth < vars.depth.value and vars.id.grouping.value

    if d.d3plus.depth is 0 or vars.id.grouping.value is false
      d.d3plus.label =
        x: 0
        y: -(size_max + labelHeight / 2)
        w: size_max * 1.5
        h: labelHeight
        color: legible(fetchColor(vars, d, d.d3plus.depth))
    else
      delete d.d3plus.label


  groupedData = groupData vars, vars.data.viz

  # Calculate rows and columns
  dataLength = groupedData.length
  if dataLength < 4
