Similar Items: A Factorization Theorem for Forest Algebras