algorithm for longer snippets
Merge branch 'master' of github.com:EdwardLiang/nexus