VX(N): Add the expand state logic.