Since we are maximising cospeciations we set the cost of cospeciation as non-positive and that of the other types of events as positive. This allows for several major savings to be made in the jungle construction, without which the graph would be more complex.