optimized deaf grandma loop