reduce the table