Remove unused samples