Humans cannot digest the cellulose in all plants, which is why eating raw vegetables is useless. If you are eating raw nuts, this will be tough on your digestive system. I prepare any nuts by first soaking them in a bowl of salt water for about 8 hours (this reduces the phytic acid and other anti-nutrients), then slow roast them in the oven at a low temperature (150º F or less) for another 8 -12 hours.
At this point they will be more digestible. It is a lot of work, but the only way you will get any nutrition from the nuts and not damage your intestines. I usually put them in a frying pan with butter and heat them just enough to melt the butter and coat the nuts and then salt them. No food should pass undigested through the colon - we were not designed for that. High fiber diets are misguided and not as healthy as they have been marketed.
Cellulose is the cell membrane of most plants and is an indigestible carbohydrate. Ruminant animals have bacteria in their stomachs to help them digest cellulose, humans do not. Ruminants also chew their food several time, regurgitating it as "cud" - humans do not have that capability. We can, however, break down the cellulose by cooking vegetables or fermenting them. Otherwise, we get very little from raw vegetables. Since my intestinal transplant, my intestines are extremely sensitive and I cannot even eat salads anymore. I can digest raw fruits, but not vegetables. I cook or ferment all my vegetables.