ocd commit
after fragment removal, perform removal of visited items
fixed sampling and added a stop option