System size effects on calculation of the viscosity of extended molecules