square lookup table completed
rectangular lookup grid complete