before long , cress realized that it took a lot less energy to stay in the valleys between the dunes when they could , so she began cutting a slower , yet less exhausting zigzag route across the desert .