Use table by default, it is 32 times quicker than calculation