NB: 1 leaf = 2 pages.
From a Mashcat 2012 session: see the write-up for more details. This version is designed to handle multiple lines of input. The original version is here.
Thomas Meehan (Orangeaurochs)
Homepage: Aurochs.org
Blog: Aurlog
Twitter: Orangeaurochs
May 2017