I significantly improved the performance of the non-mirror mode.
Thanks and credit to @MCAnimator3D for the original!