added 2nd algorithm
Merge branch 'master' of https://github.com/aikanor/abstain-mmx