Oxygen isotope partition function ratio of water and the structure of liquid water