Since this code is called every frame, you should use declare a local module object for this result and use a result parameter instead of creating a new one.