'binPDF' to modular form