Added more options to MaxMargin.