invader shoot method perf optimization