'mostinBin' to modular form