Removed cache usage from chains generating functions
This MR introduces changes required to get rid of cache usage in chains generating functions. The most important change part is a mechanism to deduplicate algoritms in CA globally when merging.
This MR introduces changes required to get rid of cache usage in chains generating functions. The most important change part is a mechanism to deduplicate algoritms in CA globally when merging.