deleting samples which are moved