add error handling for two input sequences which both exceed the max thal alignment length