Use state distribution for map generation fixes #6.