increased efficiency of bitmap usage - no crashing