https://123dok.org/document/nq74e2dq-benefits-enhancing-optimization-modulo-theories-sorting-networks-maxsmt.html