How optimal life history changes with the community size-spectrum