fix empty buckets, corner cases test
Merge branch 'master' of https://github.com/ganzm/AdvancedSystemsLab2013