Efficient compression and the evolution of semantic systems