Invia SMS: Discrete circuit optimization