improved bitmapping