[Olena-patches] last-svn-commit-883-gb303289 Add union find class. Increase the quality of the letter detection.