Wal-Mart plans to add hundreds of smaller stores in next three years