Madeira now has an extended rwy, so you can quite comfortably get aircraft such as 767's off there without them having to stop somewhere else for fuel.
Before the rwy, yes, the short rwy limited the maximum takeoff weight of these aircraft and they had to therefore limit there fuel, and pickup some elsewhere to get home.