pub const BITS_COST_STATE_NEAR_CAP: u32 = 8u32;