either it had been carved through the hill in such a way as to follow lines of least resistance in order to save money or it was curved deliberately in some dim , atavistic search for making things more secure by making them more complicated .