https://stohl.de/wordpress/?p=11969
The most expensive solution works fine