Somehow, I only needed to change a few line of code from the Lévy C curve. Run in turbo mode if you're impatient.