Factors affecting pellet quality