So Shane.... food for thought... what if you could convert this:

$o = 6,2,5,5,4,5,6,4,7,6
$b = "1110111", "0000011", "0111110", "0011111", "1001011", "1011101", "1111101", "1010011", "1111111", "1011111"

To something like this:
$b=119,3,62,31,75,93,125,83,127,95