Density dependence of the symmetry energy constrained by β −-, 2β −-, and 4β −-decay energies