removed max_cut from invariant list in gt.py temporarily
attempt to fix merge error in very primitive way