Optimal planning of flood defence system reinforcements using a greedy search algorithm