Design criteria for mode size optimization in diode-pumped solid-state lasers