         )
         rangeData.plansByDays.push(plansOnDay)
 
-      rangeData.maxPlansOnDay = _.max(rangeData.plansByDays, (plansOnDay) ->
-        plansOnDay.length
-      ).length
-
-      # set day height to the best-guess for this range based on how many plans it has.
-      # It'll be fine-tuned later across all ranges
-      rangeData.dayHeight = Math.max(
-        @_calcDayHeight(rangeData.maxPlansOnDay), rangeData.dayHeight
-      )
       rangeData
 
 


    groupedDurations = _.chain(groupingDurations)
      .map(@groupByRanges(durationsInView))
      .tap(@calcTopOffset)
      .value()

  calcTopOffset: (ranges) ->
    dayHeights = _.pluck(ranges, 'dayHeight')


        _.chain(plans)
          .sortBy((plan) ->
            -1 * plan.rangeDuration.start.valueOf()
          )
          .each(@setPlanOrder({current, existingOrdered, weekTopOffset, maxPlansOnDay}))
          .value()
