Added boolean array compressor and fixed bugs