Wall effect on the packing of cylindrical particles