lightning storm optimization