History shows that medium-sized companies have rewarded investors handsomely over time