Markup adjustments
Separate ends and sides when marginalizing