each time , failures were paid for in blood , and this forced military leaders and thinkers to ponder the way in which they should avoid miscalculations and how to organize for battle so as to suffer fewer costs and human losses .