If you are running NPT, and the pressure of the system is larger
than your target pressure, then the box size will expand to reduce
the pressure. The Q you should figure out is why your pressure is
so large, that your box size is exploding in a few steps. Your time
constant for NPT must also be very small, probably too small.