Intramolecular association in flexible hard chain molecules