Should remove unsafe blocks only inside the region