Using last zoom as the key for process identification
Using visible tile index logic
Optimized the code a bit