Reducing the size and number of linear programs in a dynamic Gröbner basis algorithm