Moved Cyclon partners merging to a separate function.