Improving bomb placement to avoid traps