tweaked algorithm a little
Merge branch 'master' of github.com:mahyarr/rocket