Impact of geography on settlement patterns in North Africa