Normalize margins