faster geometry processing with lookup table