optimizing table generation