Replace sequence with chains
Basic scoring when chain detecting