Optimize teleporting a large number of entities

Hi there! I'm making a plane data pack and I have to teleport all plane entities at the plane's pivot point every tick. I notice that when I engage the plane (basically turn it on as I'm making parked planes not use up much MSPTs), the MSPT rises up drastically. I've used https://misode.github.io and pin-pointed that the teleport command's preparation and execution takes up a whole 26ms (see image).

This is the teleport command I'm using: execute as @e[type=armor_stand,tag=GPlanes_PivotPoint] unless score @s GPlanes_Disengaged matches 1 at @s as @e[type=block_display,tag=GPlanes_Plane,tag=!GPlanes_Entity] if score @s GPlanes_Slots = @n[type=armor_stand,tag=GPlanes_PivotPoint] GPlanes_Slots run tp @s @n[type=armor_stand,tag=GPlanes_PivotPoint]

I'm open to any suggestions regarding altering the command or writing a new system for teleporting altogether. (also no, I wouldn't wish to teleport the entities less frequently as it would make movement feel very sloppy) Thank you in advance!!!

Continue to help post