Spain is definitely the main market to / from South America in Europe but at the same time South America is widely underserved from e.g. Germany and other European countries and Spain is on the way anyways, so why not establish a hub in MAD competing with IB and channelling passengers from Germany onto a number of flights to South America.