Collapse of the ice-water structure in NPT ensemble