In deterministic.add_cgw() check for whether the binary has merged and if so, set nan values to zero, as in add_catalog_of_cws().
In deterministic.add_cgw() check for whether the binary has merged and if so, set nan values to zero, as in add_catalog_of_cws().