Viscosity calculations from hadron resonance gas model: Finite size effect