added gr::thread::scoped_lock in repack_bits