Figure 5: Relative density of cooperators in dependence on the fraction of A players for different values of when and (see legend). Depending on the region of , the optimum values that maximize the fraction of cooperators are different: for a larger occupation fraction, there are two maximum values. For example, two maximum values approximately occur at and 0.72 when , respectively. However, for a smaller occupation fraction, for example, or 0.7, there is only one maximum value that approximately occurs at .