Out of memory, how to reduce this program's size

  // turn on interrupts
  interrupts();

Why? Why are you diddling with interrupts?