   # Distributes the full histogram in the entry into the defined buckets
   # for the visualization.
   # @param [Object] entry Entry to prepare for visualization.
-  _prepareEntry: (entry) ->
+  #_prepareEntry: (entry) ->
+
+  _getBuckets: (entry) ->
     prepared =
       time: entry.time
       max: 0

    cubic: (value, max) -> Math.pow(value/max, 3)
    quartic: (value, max) -> Math.pow(value/max, 4)
    quintic: (value, max) -> Math.pow(value/max, 5)

  # Creates a new heatmap.
  # @param [Object] options Options for the heatmap.

    maxTotal = 0

    for layer in @data
      entry = @_getBuckets( layer.values[entryIndex] )
      for bucket, count of entry.buckets
        bucketTotals[bucket] += count
      maxTotal += entry.max
