construct approximation table