I have been trying to calculate interfacial tension of H2S-H2O system at 313K and various pressure values. A number of researchers have simulated surface tension by first simulating a condensed system usually in NVT ensemble and then increase the size of the box in the z direction ( the system being in the middle). In my case, I tried simulating NPT and then NVT but the box simulation box increases continuously during NPT simulation. I tried Parrinello Rahman and Berendsen barostats. What can I do to control the continuous increase of the box?