Bethe Ansatz and Geometry of the Classical Configuration Space