Improve efficiency of precomputed item scorer builder