This is nonsense. Hamas doesn't live in its own neighborhood that can be targeted exclusively. Quite the contrary: it uses Gazans as human shields.
Despite this, the rate of collateral damage has been very low, even though Gaza is a dense, urban environment. It's lower than our own in the Iraq war, for example.