Items by tag optimization: optimization