Actually there is no need to make it static array, bitMask is only ever used in CTFE context and it makes no sense to bloat object code with useless table.