Zero the state with memset