Midcap stocks decline