other improvements for bitmap based caching