Last small commit today

I made some changes to function which generate units positions, and now
it works perfect :D