Rework (and hopefully make faster) Feistauer's limiter.