fix map size and updates area size