Why midcap stocks can outperform in the global rally