NXP-14010: refactor a bit index and mapping initialization