IMPORTANT: Revised how relevance is computed, faster now