ThresholdJoin: Refactoring and support for string attributes