Walmart plans 30 to 40 smaller stores next year