Optimize scoring for self linkages