making BlockDistance, ChapmanOrderedNameCompoundSimilarity and SmithWaterman act like the java versions