Similar Items: A Model of Cooperative Threads