  We generalize the perfectly clustering words of Simpson and Puglisi and
relate them to band bricks over certain gentle algebras. This allows us to
prove a generalization of a conjecture by the second author on perfectly
clustering words.
