Wagner, I hope you understand that this is not a solution. Fortunately, the user of the engine doesn't have to worry about the location of the function. Everything should work with any number of units. Do you plan to resolve this issue? Or at least tell me what to do in this situation?