fixed cliff generation