Optimized margin