erasing some transitions