Add modular multiplication pattern