Invia SMS: Practical methods of optimization