Work has been taking place to demolish a building which partly collapsed at the end of last week.