Optimize automata entity targeting