On The Origin of Species by Charles Darwin Chapter 8 Page 76

and more perfectly led the bees to sweep equal spheres at a given distance from each other in a double layer, and to build up and excavate the wax along the planes of intersection. The bees, of course, no more knowing that they swept their spheres at one particular distance from each other, than they know what are the several angles of the hexagonal prisms and of the basal rhombic plates; the motive power of the process of natural selection having been the construction of cells of due strength and of the proper size and shape for the larvae, this being effected with the greatest possible economy of labour and wax; that individual swarm which thus made the best cells with least labour, and least waste of honey in the secretion of wax, having succeeded best, and having transmitted their newly-acquired economical instincts to new swarms, which in their turn