Parasitic wasps lay their eggs directly into the eggs of various host insects in exactly the right numbers for any suitable size of host egg. If they laid too many eggs in a host eggs, the developing wasp larvae would compete with each other to the death for nutrients and space. If too few eggs were laid, portions of the host egg would decay, killing the wasp's larvae.