Faster code generation for wireless sensor networks