Optimization + test with bytearray 01