Avoid an infinite loop on small heights.