added possibility to regenerate terrain map