Use b''.join([]) instead of += to speedup code