Sped up link extractor quite a bit by only caching distances involving a multipoint region and skipping a lot of unnecessary distance calculations.