pub const BITS_COST_STATE_UNRESTRICTED: u32 = 1u32;