Replication occasionally jitters

Here’s the newer version of the code that works more efficiently without any kind of relative offset issues.


Sorry to bump this topic back up, but I can’t edit the solution anymore and I figured it would be more important to help others than not post.