• Found it.

    It works, although it doesn't appear to be faster than my current solution.

    I'll keep at it...

    P