added euler characteristic, but it's wrong
typo; interesting example is bABBBA bab a