Adjust score algorithm