directly use zero/one counter a few more places (smaller structures)