Updated algorithm
Merge branch 'master' of https://github.com/piotrjaworski/zastepstwa