Bitarray loading and sliding window