compress index table