fix the block merge logic
--issues when handling erase in containers (error prone )