Evolution of nuclear shapes in 157–161yb as a function of spin and neutron number