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.

Merge request reports

Loading