fn layer_cap() -> usize
Debug: CHERENKOV_LAYERS=N runs only the first N decoder blocks (for bisecting one execution path against another).