Reduce visibility of internal score computation function
Add optimization FIXME