'numSlice' to modular form