in cosetTable(), compress table when more than 50% of rows are invalid