they followed the line of least resistance , skirting round obstacles in their path , sometimes seeming to almost double back upon themselves rather than waste valuable energy in climbing over a rough hillock or in having to hack their way through a dense thicket .