Modified version of optimal fitness for nodes to rewire.