ready-to-compile version of Ilya's Cornucopia