updating bitpacksimd algorithm