maxWeight works on small examples.
Merge branch 'master' of https://github.com/zyzzyplyx/GREAT