made BitmapAllocator pretty fast