Debug and optimizations of hovering insect case