Definition of safety and the existence of "optimal safety"