It's very easy to make an algorithm work
It's called a proxying relay
you change your "global feed" relay to point to the proxying relay only
Now you have a custom feed In your global tab, But you still have all your follows
the proxy performs the algorithm for you