Supporting the SmithWatermanGotoh strategy