make sure delete in slices terminates -- loop counts