Given some single-day events and a multi-day event that ends on that day, the layout heuristic would place the single-day events first, leaving a gap above the multi-day event. Placing longer events first tends to produce more compact layouts.
BUG: 435667