Allocate vm::state separately.