The influence of particle size distribution on the stress distribution in granular materials