optimized bitmap performance a bot