An upscaling method for top-systems with layered heterogeneity and vertical anisotropy