If the baby is passing small pellets kind of stools..then that indicates he has severe constipation .
In this case baby needs to be evaluated.
In in diet u can add leafy vegetables, dates ,prunes ,add vegetables .Give 1-2 fruits a day directly rather than making juices.
After evaluation/ discussion with doctor laxatives can be used.
Next Steps
consultat doctor either personally or Online.