Dust modeling of the combined ALMA and SPHERE datasets of HD 163296