Only half familiar with the source, so I parsed 1d (last, like most) then spent a long time trying to locate it therein. Such a clever, simple approach to construction. Thank you, Almasti.
Patch, do not be put off. I think my count was similar before I entered anything.