Piece of code that creates offline & online collection clusters, using pre-computed inter-collection similarities