TMI! Please help

So I have been constipated for awhile since I suffer from ibs but I passed some very concerning stool. Is it tissue? Worms?