The Level and Landscape of Optimization in the Origin of the Genetic Code