Invia SMS: Elements of optimization