Lookup table generator works in its entirety