refactor Bitmap; wrote new scary benchmark