I've started to work on this, but my current implementation is far too slow for a single threaded cpu-side generator.