added an example using minimum margins