Similar Items: The Algebra of Iterative Constructions