@apavlenko I got it from an engineer when we talked, so there is no material. Actually I have not got any obvious benefits by using switch instead of if. But at least it is not worse than if.