I'm not too familiar with RegT margin rules, but I think I remember reading on IB's website that they don't guarantee that positions will be grouped in a way that minimizes margin. I recall some posts where buying a call caused a low-margin spread to be regrouped and resulted in a large margin increase.