deal with small bitmaps < 8 bytes