Further optimize score_data