fixed complexity for build_recommender