new dist calc for items
Merge branch 'master' of https://github.com/soad003/flatman