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

making their spheres; but she is already so far enabled to judge of distance, that she always describes her spheres so as to intersect to a certain extent; and then she unites the points of intersection by perfectly flat surfaces. By such modifications of instincts which in themselves are not very wonderful — hardly more wonderful than those which guide a bird to make its nest — I believe that the hive-bee has acquired, through natural selection, her inimitable architectural powers.

But this theory can be tested by experiment.

Following the example of Mr. Tegetmeier, I separated two combs, and put between them a long, thick, rectangular strip of wax: the bees instantly began to excavate minute circular pits in it; and as they deepened these little pits, they made them wider