[Util] Move the ip meta data calculation outside of element loop
As titled. This MR fixes #3323 (closed).
-
Feature description was added to the changelog -
Tests covering your feature were added? -
Any new feature or behavior change was documented?