They are thinking with their brains. Hamas has been very clear that they will, if given the chance repeat their attacks as often and severely as they can. An independent, self governing Gaza is no longer tolerable. Instead it will be partitioned up and occupied like the West Bank.