use cubic box for barostat