formatbits.c: optimize WriteMainDataBits
l3bitstream: optimize tableindex calculation
l3loop.c: optimize bin_search_StepSize