It happens because some variables are allocated and initialized at `init_sandbox`, and it is not called when restarting. We should allocate and initialize boundary conditions and volume integration in another place.