If bits are 88 then I think we need 86 iterations in the loop and fill the last bit in the myArray by a 0.

Ioannis