Since Europe is not your continent of origin you can buy additional sectors. However, you are still limited to a maximum of 16 (or 20 if ticketed before 1 June 2008) segments. Thus to replace LHR-MAD with LHR-FRA-MAD you'll need to drop a segment elsewhere (Asia or Australia seem the best places to do that) and pay the fee for additional sector in Europe.