According to Ashwini Shami, the midcap and smallcap segments are trading at significantly higher levels than their respective 5-year averages.