add bits to mapping tables