How to cope with suboptimal terrain