it seems that the issue which triggered to make the tabulation "dumb" was not related to the tabulation. I guess that it had something to do with the fact that I used -ffast-math without -fno-finite-math-only...