Characterization of the limit of some higher dimensional thin domain problems