using penalty of mismatches using powers kt and kq (#141)