binary string to mapped binary values