few more improvements to applicability generation code to reduce memory footprint when calculating applicability by repos